let a = [1,2,3]
let b = {a: 1}
let c = 'Damn'

console.log(Object.prototype.toString(b));
console.log(Object.prototype.toString.call(a));
console.log(Object.prototype.toString.call(c));

console.log(a.toString());
console.log(b.toString());
console.log(c.toString());